<!DOCTYPE html>
<html>
<head>
<title>代码生成器</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/font-awesome.min.css">
<link rel="stylesheet" href="plugins/jqgrid/ui.jqgrid-bootstrap.css">
<link rel="stylesheet" href="css/main.css">
<script src="libs/jquery.min.js"></script>
<script src="plugins/layer/layer.js"></script>
<script src="libs/bootstrap.min.js"></script>
<script src="libs/vue.min.js"></script>
<script src="plugins/jqgrid/grid.locale-cn.js"></script>
<script src="plugins/jqgrid/jquery.jqGrid.min.js"></script>
<script src="js/common.js"></script>
</head>
<body>
<div id="rrapp">

	<div class="panel panel-default">

		<div class="panel-heading">输入类的基本信息</div>
			<div class="panel-heading-inner">
				<label class="label">数据库类型:</label><input type="text" class="form-control" v-model="q.databaseType"    @keyup.enter="query"  name="databaseType"    placeholder="eg: mysql,oracle,sqlserver,postgresql ">
				<label class="label">表映射关系(1.jdbc, 2.mybatis):</label><input type="text" class="form-control" v-model="q.jdbcOrMybatis"   @keyup.enter="query"   name="jdbcOrMybatis"   placeholder="eg: jdbc(1),mybatis(2)">
				<label class="label">是否Redis缓存:</label><input type="text" class="form-control" v-model="q.isRedisCache"    @keyup.enter="query"   name="isRedisCache"    placeholder="eg: notCache(0),redis(1) ">
				<label class="label">是否生成界面:</label><input type="text" class="form-control" v-model="q.pageVal"      @keyup.enter="query"   name="pageVal"         placeholder="0.不生成Val,1.生成Val">
			</div>
			<div class="grid-btn">
				<a class="btn btn-primary" @click="config"><i class="fa fa-file-code-o"></i>&nbsp;修改生成环境</a>
			</div>
            </div>

            <table id="jqGrid"></table>
            <div id="jqGridPager"></div>
</div>

<script src="js/config.js"></script>
</body>
</html>